﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ResourceClientException.cs" company="XamlNinja">
//   2011 Richard Griffin and Ollie Riches
// </copyright>
// <summary>
//   The resource client exception.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace WP7Contrib.Communications
{
    using System;

    /// <summary>
    /// Resource client exception.
    /// </summary>
    public sealed class ResourceClientException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ResourceClientException"/> class.
        /// </summary>
        public ResourceClientException()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ResourceClientException"/> class.
        /// </summary>
        /// <param name="message">
        /// The message of the exception.
        /// </param>
        public ResourceClientException(string message) : base(message)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ResourceClientException"/> class.
        /// </summary>
        /// <param name="message">
        /// The message of the exception.
        /// </param>
        /// <param name="exn">
        /// The inner exception.
        /// </param>
        public ResourceClientException(string message, Exception exn) : base(message, exn)
        {
        }
    }
}